projects
/
gtk+3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d2c0a8
)
wayland: Fix south-west anchor rect calculation
author
Jonas Ådahl
<jadahl@gmail.com>
Mon, 12 Sep 2016 07:01:24 +0000
(15:01 +0800)
committer
Jonas Ådahl
<jadahl@gmail.com>
Wed, 14 Sep 2016 03:29:32 +0000
(11:29 +0800)
https://bugzilla.gnome.org/show_bug.cgi?id=771117
gdk/wayland/gdkwindow-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdkwindow-wayland.c
b/gdk/wayland/gdkwindow-wayland.c
index d8a6355e3fe055bcf16cdb71c767ef1202bae8c6..77fb4a8a255b8c3d66d57e4dada96814e429d73d 100644
(file)
--- a/
gdk/wayland/gdkwindow-wayland.c
+++ b/
gdk/wayland/gdkwindow-wayland.c
@@
-1675,7
+1675,7
@@
calculate_popup_rect (GdkWindow *window,
break;
case GDK_GRAVITY_SOUTH_WEST:
x = anchor_rect.x;
- y = anchor_rect.y +
(anchor_rect.height / 2)
;
+ y = anchor_rect.y +
anchor_rect.height
;
break;
case GDK_GRAVITY_SOUTH:
x = anchor_rect.x + (anchor_rect.width / 2);